package br.com.taskManager.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface DaoGenerico<T, ID extends Serializable> {
	
	public Class<T> getObjectClass();
	
	public void save(T entity);
	
	public T getById(ID id);
	
	public void update(T entity);
	
	public void delete(T entity);
	
	public List<T> getList();
	
	public List<T> getListPesqParam(String query, Map<String, Object> params);

}
